<?php
/**
 * Created by PhpStorm.
 * User: 87393
 * Date: 2019-03-26
 * Time: 23:15
 */

namespace App\Http\Repositories\Services;


use App\Http\Requests\Admin\LoginDTO;
use App\Http\Requests\Admin\SystemInputDTO;
use Illuminate\Http\Request;

interface ISystem
{
    public function login(LoginDTO $loginDTO);

    public function lists($search, $page, $size = 10);

    public function store(SystemInputDTO $inputDTO);

    public function update(SystemInputDTO $inputDTO, $id);

    public function byId($id);

    public function state($id, $state);
}